﻿<Window x:Class="XPathAutoSuggest.AboutForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowStartupLocation="CenterScreen"
    Title="AboutForm" Height="570" Width="460">
    <Grid Background="{StaticResource GradientBrsh}">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <FlowDocumentReader Name="AboutReader" Grid.Row="2" >
            <FlowDocument>
                <Section LineHeight="2" Foreground="Yellow" Background="DarkViolet" BorderBrush="Black" BorderThickness="2">
                    <Paragraph FontSize="22">
                        XPath AutoSugest and Evaluate
                    </Paragraph>
                    <Paragraph FontSize="18">
                        Written by Randy Buchner
                    </Paragraph>
                </Section>
                <Paragraph>
                    Why? In case, like me, you don't use XPath often enough to get it right the first time.
                </Paragraph>
                <List>
                    <ListItem>
                        <Paragraph>
                            <Run FontStyle="italic">Paste</Run> your XML into the textbox 
                            </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>
                            (Or open your file using the menu)
                        </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>
                            Highlight a node or tag
                        </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>and click <Run FontStyle= "italic">suggest"</Run></Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>
                           <Run FontStyle="italic">Evalute</Run> a suggestion that is close
                            to what you need
                        </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>
                            Then
                            <Run FontStyle="italic">play</Run> with it until you get the
                            <Run FontStyle="italic">results</Run> you need
                        </Paragraph>
                    </ListItem>
                </List>
                <Paragraph>
                    The upshot to you:
                </Paragraph>
                <List>
                    <ListItem>
                        <Paragraph>
                            You get your app finished quicker because your XPath did the trick
                        </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>
                            Users think you're great!
                        </Paragraph>
                    </ListItem>
                    <ListItem>
                        <Paragraph>Boss give you raise</Paragraph>
                    </ListItem>
                </List>
                <Paragraph FontSize="12">Copyright 2012 Randy Buchner All rights reserved</Paragraph>
                <Paragraph FontSize="14">You may use this application free of charge, but you
                    <Run FontWeight="bold">may not</Run> sell, license
                    or charge any fees for its use. User of this tool assumes all risks 
                    and responsibilities for any consequences related to running it. This
                    tool is provided with no warranty or guarantee. By using this tool,
                    user agrees to hold Randy Buchner harmless for all consequences.
                </Paragraph>
            </FlowDocument>
        </FlowDocumentReader>
    </Grid>
</Window>
